HADOOP-15566. Support Opentracing#1846
HADOOP-15566. Support Opentracing#1846smengcl wants to merge 6 commits intoapache:HADOOP-15566-OpenTracingfrom
Conversation
|
💔 -1 overall
This message was automatically generated. |
|
HADOOP-16824 is blocking this PR. |
|
💔 -1 overall
This message was automatically generated. |
hadoop-common-project/hadoop-common/src/main/proto/RpcHeader.proto
Outdated
Show resolved
Hide resolved
hadoop-hdfs-project/hadoop-hdfs-client/src/main/proto/datatransfer.proto
Outdated
Show resolved
Hide resolved
|
💔 -1 overall
This message was automatically generated. |
|
💔 -1 overall
This message was automatically generated. |
There was a problem hiding this comment.
If this method is no longer needed, let's remove it entirely.
There was a problem hiding this comment.
did you forget to log variable byteString?
There was a problem hiding this comment.
missing a parameter here?
There was a problem hiding this comment.
i need to check if the concept matches but io.opentracing.Tracer offers a addReference() API to represent the casual relationship.
adamantal
left a comment
There was a problem hiding this comment.
I took a quick glance at this patch. I don't really have context on this, so I don't want to interfere.
I suggested to add javadoc which would describe the new classes and their intended behaviours.
Also, I see the the current TestTracing is empty. Can we try some TDD-approach / add test case to have more insight what is the goal here?
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/tracing/Span.java
Outdated
Show resolved
Hide resolved
hadoop-common-project/hadoop-common/src/main/java/org/apache/hadoop/tracing/TraceScope.java
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Could you please add javadoc here?
There was a problem hiding this comment.
This is dangerous
https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/io/ObjectInputStream.html
"Warning: Deserialization of untrusted data is inherently dangerous and should be avoided."
We need an alternative.
There was a problem hiding this comment.
Moreover, ObjectInputStream doesn't guarantee compatibility between a server and a client if they are on different version. Finally, I bet it is not optimal serialization format. We should find one that's as short as possible.
There was a problem hiding this comment.
Good find @jojochuang . I agree we should definitely use a more optimized solution for serialization/deserialization if possible.
Change-Id: Ia6adf57210161aea6dd4111adee460a8cfe87039
…rdparty.protobuf. nice. Change-Id: I104fbf4fa16f38eb0de63c62e5f2b0a3c96e1fad
Change-Id: I80a113075938defd0902753a331f2adc6289a8f5
…ceInfoProto, BaseHeaderProto/ReleaseShortCircuitAccessRequestProto/ShortCircuitShmRequestProto to DataTransferTraceInfoProto. Change-Id: I53223547601f7fc0f450c3c512728324ef67b3e8
Change-Id: I236788b52f0542d1fca5f902131a815bdfa298f7
Change-Id: I3e622e7febd8d385d5c6fff8c8572accb39c0fc9
|
Rebased onto latest trunk (44afe11): Resolved a minor import conflict in NameNode class due to the introduction of |
|
I created a branch "HADOOP-15566-OpenTracing" please raise a PR against that branch in the future. Thanks! |
I've updated this PR's base branch to |
|
💔 -1 overall
This message was automatically generated. |
|
We're closing this stale PR because it has been open for 100 days with no activity. This isn't a judgement on the merit of the PR in any way. It's just a way of keeping the PR queue manageable. |
Replacing HTrace with OpenTracing.
mvn install -Pdist -DskipTests -e -Dmaven.javadoc.skip=true -Denforcer.skip=true -DskipShade